<!DOCTYPE >
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>基本设置</title>
<css href="__PUBLIC__/system/css/right.css" />
<js  href="__PUBLIC__/system/js/jquery.js" />
<js href="__PUBLIC__/system/js/system.js" />
<js href="__PUBLIC__/system/js/admin.js" />
<js href="__PUBLIC__/system/js/ajaxfileupload.js" />
</head>
<body style="overflow: visible;">
	<div class="basic bor">
			<div class="title fl">当前位置：其他图片</div>
			<div class="basic_r fr"><a href="{:U('index/setting')}">基本信息</a></div>
	</div>
	<form id = "J_linkFrom"   method="post" action="{:U('Link/addLink')}"  enctype="multipart/form-data">
	<div class="addnav">
        <span class="navname">图片名称  ：</span>
        <input class="input127" type="text" name="name" >

		<span class="navname">连接：</span>

        <input  type="hidden" name="type" value="{$_GET['id']}">
        <input  type="hidden" name="content" value="相关内容">
        <input class="input127 input190" type="text" name="url">

        <div class="infx blocks">
            <input class="infile" type="file"   name="pic" value="">
            <span class="text_s">上传文件</span>
            </div>
        <input class="submit addnew" name="submit" type="submit" value="添加" />
	</div>
	</form>
<form  id = "J_all_delete"  method="post" action="{:U('Link/deleteLink')}"  enctype="multipart/form-data" >
<table border="1"  class="table table-hover text-center" id='list'>
  <tr class="trcolor">
    <td>选择</td>
   	<td>排序</td>
	<td>图片名称</td>
    <td>详细</td>
    <td>连接</td>
    <td>缩略图</td>
    <td>操作</td>
  </tr>
<!-- ============================================================= -->

<volist name='list' id='vo'>
  <tr>
    <td><input class="checkbox bor"  name="fruit" type="checkbox" value="{$vo.id}" /></td>
    <td><input class="orde" type="text" name="sort" value="{$vo.sort}"  value="{$vo.sort}" onchange='onid("{$vo.id}","sort","store_partner")' sort_id="{$vo.id}"  ></td>
    <td class="color444 textleft_lover"><input type="text" name="name"  value="{$vo.name}" onchange='onid("{$vo.id}","name","store_partner")' name_id="{$vo.id}"  ></td>


    <td class="color444 textleft_lover"><textarea name="description" onchange='onid("{$vo.id}","content","store_partner")' content_id="{$vo.id}" class=" bor">{$vo.content}</textarea></td>


    <td class="color12"><input type="text"  name="url" value="{$vo.url}"  value="{$vo.name}" onchange='onid("{$vo.id}","url","store_partner")' url_id="{$vo.id}"  ></td>
    <td class="color12">
        <div class="fileadd">
            <input type="file"  class="id_photos" num_sql="store_partner"  data-id ='{$vo.id}'  id="id_photos_{$vo.id}" name="pic" >`
            <img src="{$vo.pic}" height="45" width="100" class="pic">
        </div>
    </td>
    <td><span class="addname"><a href="{:U('Link/deleteLink',array('id'=>$vo['id']))}"  onclick="return confirm('确定将此记录删除?')" >删除</a></span></td>
  </tr>
</volist>
<!-- ============================================================= -->
<input type="hidden" id = "J_ids"  value = "{$vo.id}">
</table>
<div class="pages">
   <span class="allxz fl"><input class="checkbox bor" id="all"  name="Fruit" type="checkbox" value=" 3" /></span> 
   <div class="deladd fl"><a href="javascript:;" class="alllist"  >全选</a><a href="javascript:;" class="color08bcbb" id = "J_delete" onclick="dellists('store_partner')">删除所选</a></div>
   
    <div class="page_s fr">{$page}</div>
</div>
</form>
<!-- 提示 -->
<p class="ts"><span class="colorf00">*</span><span class="ts_text">  如果要修排序/图片名称/连接请直接点击文字修改，图片直接点击上传更换。</span></p>
</body>
</html>